/**
 *
 * Created with IntelliJ IDEA.
 * @author  ranhongmin--2018/3/14
 * Description:
 */

$(function () {

//部门查找下拉框
    $("#submit").click(function () {

        $.ajax({
            type: "POST",
            url: "../../wordUserAction/login.json",
            dataType: "json",
            data:{
              "username":$("#username").val(),
              "password":$("#password").val()
            },
            success: function (data) {
                // alert(data);
                window.location.href = "consoleTabs.html";
            },
            error: function (data) {
                alert(data);
            }
        });
    });


});
